package com.refuel.domain;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;
import java.util.List;

/**
 * @author zhanghao
 * @description
 * @date 2024/5/10 11:41
 **/
@Schema(description = "活动信息")
public class Activity {

    /**
     * 活动ID
     */
    @Schema(description = "活动ID", example = "123456")
    private String id;

    /**
     * 活动标题
     */
    @Schema(description = "活动标题", example = "积分抽奖，最高可获得100元加油卡")
    private String title;

    /**
     * 活动配图
     */
    @Schema(description = "活动配图", example = "http://www.example.com/activity_pic.jpg")
    private String picture;

    /**
     * 活动类型
     */
    @Schema(description = "活动类型", example = "默认为：lottery")
    private String type;

    /**
     * 活动期号
     */
    @Schema(description = "活动期号", example = "20240501")
    private String seriesNo;

    /**
     * 活动所需积分
     */
    @Schema(description = "活动所需积分", example = "10")
    private Integer integral;

    /**
     * 活动开奖间隔时间，单位：秒
     */
    @Schema(description = "活动开奖间隔时间，单位：秒", example = "10")
    private Integer interval;

    /**
     * 活动开始时间
     */
    @Schema(description = "活动开始时间", example = "2024-05-01 00:00:00")
    private Date startTime;

    /**
     * 活动结束时间
     */
    @Schema(description = "活动结束时间", example = "2024-05-31 23:59:59")
    private Date endTime;

    /**
     * 状态
     */
    @Schema(description = "状态", example = "INITIAL")
    private String status;

    /**
     * 活动奖品
     */
    @Schema(description = "活动奖品")
    private List<Prize> prizes;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSeriesNo() {
        return seriesNo;
    }

    public void setSeriesNo(String seriesNo) {
        this.seriesNo = seriesNo;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getInterval() {
        return interval;
    }

    public void setInterval(Integer interval) {
        this.interval = interval;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public List<Prize> getPrizes() {
        return prizes;
    }

    public void setPrizes(List<Prize> prizes) {
        this.prizes = prizes;
    }
}
